import { Component } from '@angular/core';

@Component({
	selector:'my-app',
	template:`
		<h1>{{title}}</h1>
		<nav>
	      <a routerLink="/dashboard">仪表盘</a>
	      <a routerLink="/heroes">英雄们</a>
	    </nav>
    	<!--<my-heroes></my-heroes>-->
    	<router-outlet></router-outlet>
	`,
	styleUrls:['./app.component.css']
})

export class AppComponent{
	title ='英雄之旅main';
}